package br.com.lavitstudio.game;

public class level_Border {
	private Block[][] block;
	
	public level_Border(Block[][] block) {
		this.block = block;
	}
	
	public void generateLevel() {
		for(int y=0;y<block.length;y++) {
			for(int x=0; x<block[0].length; x++) {
				if(x ==0 || y == 0 || x == (block.length - 1) || y == (block[0].length - 1)) {
					block[x][y].id = Tile.block.get("solidair");
				}
			}
		}
	}
}
